n = int(input("输入一个数字："))
for i in range(2, n):
    if n % i == 0:
        print("%d是素数")

x = input("请输入一个整数：")
if x == x[::-1]:
    print("是回文数。")
else:
    print("不是回文数。")

a = "hello_word_JMzz"
print(a.split("_"))

list = ["hello", "world", "JMzz"]
b = "_".join(list)
print(b)

a = "We are happy"
a.replace(" ", "%20")
print(a.replace(" ", "%d"))
